Optimal. Leaf size=151 \[ \frac{\sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)} \tan ^{-1}\left (\sqrt{\cos (e+f x)}\right )}{4 a b^2 f \sqrt{a \sin (e+f x)}}+\frac{\sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)} \tanh ^{-1}\left (\sqrt{\cos (e+f x)}\right )}{4 a b^2 f \sqrt{a \sin (e+f x)}}-\frac{1}{2 b f (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.154978, antiderivative size = 151, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.32, Rules used = {2597, 2601, 12, 2565, 329, 212, 206, 203} \[ \frac{\sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)} \tan ^{-1}\left (\sqrt{\cos (e+f x)}\right )}{4 a b^2 f \sqrt{a \sin (e+f x)}}+\frac{\sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)} \tanh ^{-1}\left (\sqrt{\cos (e+f x)}\right )}{4 a b^2 f \sqrt{a \sin (e+f x)}}-\frac{1}{2 b f (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2597
Rule 2601
Rule 12
Rule 2565
Rule 329
Rule 212
Rule 206
Rule 203
Rubi steps
\begin{align*} \int \frac{1}{(a \sin (e+f x))^{3/2} (b \tan (e+f x))^{3/2}} \, dx &=-\frac{1}{2 b f (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)}}-\frac{\int \frac{\sqrt{b \tan (e+f x)}}{(a \sin (e+f x))^{3/2}} \, dx}{4 b^2}\\ &=-\frac{1}{2 b f (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)}}-\frac{\left (\sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)}\right ) \int \frac{\csc (e+f x)}{a \sqrt{\cos (e+f x)}} \, dx}{4 b^2 \sqrt{a \sin (e+f x)}}\\ &=-\frac{1}{2 b f (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)}}-\frac{\left (\sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)}\right ) \int \frac{\csc (e+f x)}{\sqrt{\cos (e+f x)}} \, dx}{4 a b^2 \sqrt{a \sin (e+f x)}}\\ &=-\frac{1}{2 b f (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)}}+\frac{\left (\sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{x} \left (1-x^2\right )} \, dx,x,\cos (e+f x)\right )}{4 a b^2 f \sqrt{a \sin (e+f x)}}\\ &=-\frac{1}{2 b f (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)}}+\frac{\left (\sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{1-x^4} \, dx,x,\sqrt{\cos (e+f x)}\right )}{2 a b^2 f \sqrt{a \sin (e+f x)}}\\ &=-\frac{1}{2 b f (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)}}+\frac{\left (\sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\sqrt{\cos (e+f x)}\right )}{4 a b^2 f \sqrt{a \sin (e+f x)}}+\frac{\left (\sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\sqrt{\cos (e+f x)}\right )}{4 a b^2 f \sqrt{a \sin (e+f x)}}\\ &=-\frac{1}{2 b f (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)}}+\frac{\tan ^{-1}\left (\sqrt{\cos (e+f x)}\right ) \sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)}}{4 a b^2 f \sqrt{a \sin (e+f x)}}+\frac{\tanh ^{-1}\left (\sqrt{\cos (e+f x)}\right ) \sqrt{\cos (e+f x)} \sqrt{b \tan (e+f x)}}{4 a b^2 f \sqrt{a \sin (e+f x)}}\\ \end{align*}
Mathematica [A] time = 0.330586, size = 103, normalized size = 0.68 \[ \frac{\sin ^2(e+f x) \left (\tan ^{-1}\left (\sqrt [4]{\cos ^2(e+f x)}\right )-2 \sqrt [4]{\cos ^2(e+f x)} \csc ^2(e+f x)+\tanh ^{-1}\left (\sqrt [4]{\cos ^2(e+f x)}\right )\right )}{4 b f \sqrt [4]{\cos ^2(e+f x)} (a \sin (e+f x))^{3/2} \sqrt{b \tan (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.138, size = 320, normalized size = 2.1 \begin{align*} -{\frac{\sin \left ( fx+e \right ) }{8\,f\cos \left ( fx+e \right ) } \left ( \cos \left ( fx+e \right ) \ln \left ( -{\frac{1}{ \left ( \sin \left ( fx+e \right ) \right ) ^{2}} \left ( 2\,\sqrt{-{\frac{\cos \left ( fx+e \right ) }{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{2}}}} \left ( \cos \left ( fx+e \right ) \right ) ^{2}- \left ( \cos \left ( fx+e \right ) \right ) ^{2}-2\,\sqrt{-{\frac{\cos \left ( fx+e \right ) }{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{2}}}}+2\,\cos \left ( fx+e \right ) -1 \right ) } \right ) -\cos \left ( fx+e \right ) \arctan \left ({\frac{1}{2}{\frac{1}{\sqrt{-{\frac{\cos \left ( fx+e \right ) }{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{2}}}}}}} \right ) +4\,\sqrt{-{\frac{\cos \left ( fx+e \right ) }{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{2}}}}-\ln \left ( -{\frac{1}{ \left ( \sin \left ( fx+e \right ) \right ) ^{2}} \left ( 2\,\sqrt{-{\frac{\cos \left ( fx+e \right ) }{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{2}}}} \left ( \cos \left ( fx+e \right ) \right ) ^{2}- \left ( \cos \left ( fx+e \right ) \right ) ^{2}-2\,\sqrt{-{\frac{\cos \left ( fx+e \right ) }{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{2}}}}+2\,\cos \left ( fx+e \right ) -1 \right ) } \right ) +\arctan \left ({\frac{1}{2}{\frac{1}{\sqrt{-{\frac{\cos \left ( fx+e \right ) }{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{2}}}}}}} \right ) \right ) \left ( a\sin \left ( fx+e \right ) \right ) ^{-{\frac{3}{2}}} \left ({\frac{b\sin \left ( fx+e \right ) }{\cos \left ( fx+e \right ) }} \right ) ^{-{\frac{3}{2}}}{\frac{1}{\sqrt{-{\frac{\cos \left ( fx+e \right ) }{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{2}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\left (a \sin \left (f x + e\right )\right )^{\frac{3}{2}} \left (b \tan \left (f x + e\right )\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 4.49621, size = 1580, normalized size = 10.46 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\left (a \sin \left (f x + e\right )\right )^{\frac{3}{2}} \left (b \tan \left (f x + e\right )\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]